package com.jboltai.capability.embedding;

import com.jboltai.event.embedding.EmbeddingEvent;
import com.jboltai.resource.ai.AIResource;
import com.jboltai.resource.embedding.EmbeddingResource;

public interface EmbeddingProcessor {


    /**
     * 处理事件
     * @param event
     * @param resource
     */
    void process(EmbeddingEvent event, EmbeddingResource resource);


    /**
     * 处理事件取消
     * @param event
     * @param resource
     */
    void handleCancel(EmbeddingEvent event, AIResource resource);
}
